package com.csaba.connector.service;

import java.util.Date;

import com.csaba.connector.model.Account;
import com.csaba.connector.model.HistoryItem;

public abstract class AbstractAccountHistoryService implements AccountHistoryService
{
	protected HistoryItem[] historyItems;
	protected Date from;
	protected Date to;
	protected Account account;

	@Override
	public HistoryItem[] getHistory()
	{
		return historyItems;
	}

	@Override
	public void setAccount( Account account )
	{
		this.account = account;
	}

	@Override
	public void setDateRange( Date from, Date to )
	{
		this.from = from;
		this.to = to;
	}
}
